const db = require('../db')

module.exports = db.defineModel('sc_day_total_money', {
	_id: db.STRING(),
	addTime: db.STRING(),
	date: {
		type: db.STRING(),
		allowNull: true,
		defaultValue: '', 
		comment: '日期'
	},
	
	total: {
		type: db.INTEGER(),
		allowNull: true,
		defaultValue: 0, 
		comment: '总金额'
	}
})
